package com.exe.rege.dto;

import com.exe.rege.entity.DishEntity;
import com.exe.rege.entity.DishFlavorEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

//dto是前端传回后端的数据封装层
//结合了dish和dishFlavor
@Data
public class DishDto extends DishEntity {

    private List<DishFlavorEntity> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
